<script setup>
import { RouterView } from 'vue-router';
</script>

<template>
  <div class="app-container">
    <RouterView />
  </div>
</template>

<style>
/* 全局样式 */
/* 覆盖Element Plus的一些默认样式 */
.app-container {
  height: 100vh;
  width: 100%;
  background-color: #f5f7fa;
}

.el-card {
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.el-card__header {
  padding: 15px 20px;
  font-weight: bold;
  border-bottom: 1px solid #ebeef5;
}

.el-table th.el-table__cell {
  background-color: #f5f7fa;
  color: #606266;
  font-weight: bold;
}

.el-button--primary {
  background-color: #409eff;
}
</style>
